package com.heather.exam.pojo.table;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("notice")
public class Notice {
    @TableId(value = "id", type = IdType.AUTO)
    private int id;
    @TableField("title")
    private String title;
    @TableField("content")
    private String content;
    @TableField("create_time")
    private Date createTime;
}
